package com.example.ftdatabase;

import java.util.Date;

public class Task {
	private String name;
	private int length;
	private Date dateCreated;
	private boolean isRecurring;
	private long id;
	
	public Task(String n, int len, Date date, boolean recur) {
		name = n;
		length = len;
		dateCreated = date;
		isRecurring = recur;
	}
	
	public String getName() {return name;}
	public int getLength() {return length;}
	public Date getDateCreated() {return dateCreated;}
	public boolean isRecurring() {return isRecurring;}
	
	public long getId() {
		return id;
	}

	public void setId(long inId) {
		id = inId;
	}
}